package com.inhim.pjhim.dowloadfile.download;

import com.inhim.pjhim.entity.ReaderInfo;

import org.litepal.annotation.Column;
import org.litepal.crud.LitePalSupport;

import java.io.Serializable;
import java.util.List;


/**
 * Created by renpingqing on 17/1/19.
 */
public class MyBusinessInfoDid extends LitePalSupport implements Serializable {
    //readerId是唯一的，
    @Column(unique = true)
    private String readerId;

    private String cover;
    private long total;
    private String title;

    private String synopsis;

    private String content;

    private int readerTypeId;
    private String url;
    private String filePath;

    //用来判断是否播放及播放进度是多少
    //用来判断是否播放及播放进度是多少
    private String progressText;
    private int progress;
    private String collectionStatus;
    private String type;
    private int readAmount;
    private String timeText;

    private String readerTypeText;

    private String readerTypeIdLink;

    private String readerStyleIdLink;

    private String readerStyleValueIdLink;

    private String createTime;

    private String updateTime;

    private boolean intRecommend;

    private String doubSort;


    private String tagName;

    private List<ReaderInfo.ReaderAttrList> readerAttrList;

    public void setCollectionStatus(String collectionStatus) {
        this.collectionStatus = collectionStatus;
    }

    public String getCollectionStatus() {
        return this.collectionStatus;
    }

    public void setReaderId(String readerId) {
        this.readerId = readerId;
    }

    public String getReaderId() {
        return this.readerId;
    }

    public String getFilePath() {
        return filePath;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public int getProgress() {
        return progress;
    }

    public void setProgress(int progress) {
        this.progress = progress;
    }

    public String getProgressText() {
        return progressText;
    }

    public void setProgressText(String progressText) {
        this.progressText = progressText;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    public String getCover() {
        return this.cover;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTitle() {
        return this.title;
    }

    public void setSynopsis(String synopsis) {
        this.synopsis = synopsis;
    }

    public String getSynopsis() {
        return this.synopsis;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getContent() {
        return this.content;
    }

    public void setReaderTypeId(int readerTypeId) {
        this.readerTypeId = readerTypeId;
    }

    public int getReaderTypeId() {
        return this.readerTypeId;
    }

    public void setReaderTypeIdLink(String readerTypeIdLink) {
        this.readerTypeIdLink = readerTypeIdLink;
    }

    public String getReaderTypeIdLink() {
        return this.readerTypeIdLink;
    }

    public void setReaderStyleIdLink(String readerStyleIdLink) {
        this.readerStyleIdLink = readerStyleIdLink;
    }

    public String getReaderStyleIdLink() {
        return this.readerStyleIdLink;
    }

    public void setReaderStyleValueIdLink(String readerStyleValueIdLink) {
        this.readerStyleValueIdLink = readerStyleValueIdLink;
    }

    public String getReaderStyleValueIdLink() {
        return this.readerStyleValueIdLink;
    }

    public void setReadAmount(int readAmount) {
        this.readAmount = readAmount;
    }

    public int getReadAmount() {
        return this.readAmount;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getCreateTime() {
        return this.createTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getUpdateTime() {
        return this.updateTime;
    }

    public void setIntRecommend(boolean intRecommend) {
        this.intRecommend = intRecommend;
    }

    public boolean getIntRecommend() {
        return this.intRecommend;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getUrl() {
        return this.url;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return this.type;
    }

    public void setDoubSort(String doubSort) {
        this.doubSort = doubSort;
    }

    public String getDoubSort() {
        return this.doubSort;
    }

    public void setTagName(String tagName) {
        this.tagName = tagName;
    }

    public String getTagName() {
        return this.tagName;
    }

    public void setTimeText(String timeText) {
        this.timeText = timeText;
    }

    public String getTimeText() {
        return this.timeText;
    }

    public void setReaderTypeText(String readerTypeText) {
        this.readerTypeText = readerTypeText;
    }

    public String getReaderTypeText() {
        return this.readerTypeText;
    }

    public void setReaderAttrList(List<ReaderInfo.ReaderAttrList> readerAttrList) {
        this.readerAttrList = readerAttrList;
    }

    public List<ReaderInfo.ReaderAttrList> getReaderAttrList() {
        return this.readerAttrList;
    }

    class Author  extends LitePalSupport implements Serializable {
        private int id;

        private String headPortrait;

        private String name;

        private String area;

        private String synopsis;

        private String createTime;

        private String identity;

        public void setId(int id) {
            this.id = id;
        }

        public int getId() {
            return this.id;
        }

        public void setHeadPortrait(String headPortrait) {
            this.headPortrait = headPortrait;
        }

        public String getHeadPortrait() {
            return this.headPortrait;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getName() {
            return this.name;
        }

        public void setArea(String area) {
            this.area = area;
        }

        public String getArea() {
            return this.area;
        }

        public void setSynopsis(String synopsis) {
            this.synopsis = synopsis;
        }

        public String getSynopsis() {
            return this.synopsis;
        }

        public void setCreateTime(String createTime) {
            this.createTime = createTime;
        }

        public String getCreateTime() {
            return this.createTime;
        }

        public void setIdentity(String identity) {
            this.identity = identity;
        }

        public String getIdentity() {
            return this.identity;
        }
    }
}
